public class nsad {
    private String id;
    private String name;

    public nsad(String id,String name){
        this.id = id;
        this.name = name;
    }
    public String getId() {return id;}
    public void setId(String id){this.id = id;}
    public String getName(){return name;}
    public void setName(String name) {this.name = name;}

    public void showBasicInfo(){
        System.out.println("编号：" + id + ",姓名：" + name);
    }
}
public class Student extends Person {
    private double score;

    public Student(String id,String name,double score){
        super(id , name);
        this.score = score;
    }

    public double getScore(){return score;}
    public void setScore(double score){this.score = score;}
}

public class nsad1 {
    public static void main(String[] args) {
        Student stu = new Student("52151651", "hsdha", 90.5);
        stu.showBasicInfo();
        System.out.println("成绩: " + stu.getScore() + "分");
    }
}
